package com.xzx.annotation.profile;

import org.springframework.context.annotation.*;

/**
 * @author xinzhixuan
 * @version 1.0
 * @date 2025/4/21 09:43
 */
@PropertySource("classpath:profile.properties")
@ComponentScan("com.xzx.annotation.profile")
@Configuration
public class ProfileConfig {



    @Profile("dev")
    @Bean
    public ProfileBean02 profileBean02() {
        return new ProfileBean02();
    }


}
